Subathon challenges: a Jlerts custom widget
============================================

Shows your next Subathon challenges from Jlerts (Community Hub -> Subathon -> Challenge checklist), three at a time:
the current one is marked NOW, then UP NEXT and THEN. When the current one is reached it celebrates (it pops, bounces,
glows and shines, with a sound if you set one) for 3 minutes, then slides out and the next one moves up. If several are
reached at once they take turns (all but the last celebrate for 15 seconds). Add and order the challenges in Jlerts.
Goes with the Subathon challenge tracker widget ("8,024 / 8,250 subs").
Needs Jlerts 2026.10.30 or newer, with the Subathon switched on.

Add it to Jlerts
1. Unzip this folder somewhere it can stay (for example Documents\Jlerts widgets\Subathon challenges).
2. In Jlerts: Widgets -> + New widget -> Custom widget (HTML / CSS / JS).
3. Widget folder -> Choose folder... and pick this folder. Its settings appear underneath.
4. It takes its name and size (380 x 330) from widget.json. Drag it onto your overlay; drag the edges of its box to
   resize it (everything inside grows with it and stays sharp in OBS).

A sound when a challenge is done
  Put the sound file (mp3, wav or ogg) in this folder, then type its name in the "Sound when one's done" setting, like
  cheer.mp3. Several names with commas (cheer.mp3, horn.mp3) play one of them at random. "Hear the sound" plays it in
  Jlerts so only you hear it.

Six looks: pick one with Style (Gaming HUD, Neon arcade, Cosy café, Retro pixel, Glass, Candy party). Untick
"Use the style's own colours" to choose your own two colours. The other Subathon widgets have the same six looks.

Change it
  widget.json  its name and size when it's added
  fields.json  the settings people can change without code
  index.html   what's in it
  style.css    its own layout and the celebration
  themes.css   the six looks (shared by the Subathon widgets)
  common.js    shared helpers (looks, times and numbers)
  script.js    what it does
After changing a file, refresh the overlay in OBS (right-click it -> Refresh).

Free to use and change for your streams.
